package com.maylann.ratiocheater.model;

import java.net.MalformedURLException;
import java.net.URL;

/**
 * Created with IntelliJ IDEA.
 * by Maylann
 */
public class Announce {

    private String url;

    public Announce(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public URL getRealUrl() throws MalformedURLException {
        return new URL(url);
    }
}
